﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RememberLib
{
    public class Curve
    {
        //public static int[] CurveDays = { 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4 ,5, 9, 11, 14, 20, 27, 36 , 46, 50, 60, 80, 99 , 120, 150, 200, 300, 500, 999};
        //刚刚记忆完毕100% 20分钟以后58.2% 1小时后44.2% 8-9小时后35.8% 1天后 33.7% 2天后27.8% 6天后25.4% 一个月21.1% 
        // 20m 60m 6h 1d 2d 6d 30d 30d 30d

        public static int[] CurveMinutes = { 20, 60, 480, 1440, 2880, 8640, 43200 };
        public static int GetNextMinutes(int index)
        {
            int days = 0;
            if (index < CurveMinutes.Length)
            {
                days = CurveMinutes[index];
            }

            return days;
        }
    }
}
